package com.jiangcheng.utils;

public class IdUtils {
    public static void main(String[] args) {
        SnowFlakeIdWoker woker = new SnowFlakeIdWoker(1,1);
        Long id = woker.nextId();
        System.out.println(id);
    }

    public static Long getId(){
        SnowFlakeIdWoker woker = new SnowFlakeIdWoker(1,1);
        Long id = woker.nextId();
        return id;
    }
}
